libxl: provide libxl_bitmap_{or,and}
authorLinda Jacobson <lindaj@jma3.com>
Wed, 15 Apr 2015 17:02:07 +0000 (11:02 -0600)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 22 Apr 2015 13:40:06 +0000 (14:40 +0100)
commit81a1ef5e5a52dfae714905638b060b5606aa97ed
treead61574a13ca09cfdd3cc84af63e2acc36bcd81f
parent4c9a1aab8113f96143a7d5d80344a098786d2e4f
libxl: provide libxl_bitmap_{or,and}

New functions to provide logical and and or of two bitmaps.  These are
generically useful utility functions added to the public API for the
benefit of libxl's users.

In the future they may also be useful internally, e.g. in the
vNUMA configuration check function.

Signed-off-by: Linda Jacobson <lindaj@jma3.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- rewrote commit message and fixed typo ]
tools/libxl/libxl.h
tools/libxl/libxl_utils.c
tools/libxl/libxl_utils.h